/*
 * @Author: your name
 * @Date: 2021-11-16 15:14:48
 * @LastEditTime: 2021-11-19 12:07:28
 * @LastEditors: Please set LastEditors
 * @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 * @FilePath: \vue_cli_demo5\src\main.js
 */
import Vue from 'vue'
import App from './App.vue'
import './registerServiceWorker'
import router from './router'
import store from './store'
import http from 'axios'
// import ElementUI from 'element-ui';
// import 'element-ui/lib/theme-chalk/index.css';
import { 
  Button, 
  Select,
  container,
  aside,
  header,
  main,
  Menu,
  Submenu,
  MenuItem,
  MenuItemGroup,
  DropdownMenu,
  DropdownItem,
  Dropdown,
  Col,
  Row,
  Card,
  Table,
  TableColumn



} from 'element-ui';

Vue.config.productionTip = false
// Vue.use(ElementUI);
Vue.prototype.$http = http

Vue.component(Button.name, Button);
Vue.component(Select.name, Select);
Vue.use(container);
Vue.use(aside);
Vue.use(header);
Vue.use(main);
Vue.use(Menu);
Vue.use(Submenu);
Vue.use(MenuItem);
Vue.use(MenuItemGroup);
Vue.use(DropdownMenu);
Vue.use(DropdownItem);
Vue.use(Dropdown);
Vue.use(Col);
Vue.use(Row);
Vue.use(Card);
Vue.use(Table);
Vue.use(TableColumn);

if (process.env.NODE_ENV === 'development') require('@/api/mock')

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
